.class public Lrexsee/core/browser/RexseeBrowser;
.super Ljava/lang/Object;
.source "RexseeBrowser.java"

# interfaces
.implements Lrexsee/core/browser/clazz/JavascriptInterface;


# static fields
.field private static final INTERFACE_NAME:Ljava/lang/String; = "Browser"

.field private static final PARENT_INTERFACE_NAME:Ljava/lang/String; = "Parent"


# instance fields
.field private final mBrowser:Lrexsee/core/browser/Browser;

.field private final mContext:Landroid/content/Context;


# direct methods
.method public constructor <init>(Lrexsee/core/browser/Browser;)V
    .locals 1
    .param p1, "browser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 42
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 43
    iput-object p1, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    .line 44
    invoke-virtual {p1}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    .line 45
    return-void
.end method

.method static synthetic access$0(Lrexsee/core/browser/RexseeBrowser;)Lrexsee/core/browser/Browser;
    .locals 1

    .prologue
    .line 40
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    return-object v0
.end method


# virtual methods
.method public clearCache()V
    .locals 2

    .prologue
    .line 211
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lrexsee/core/browser/Browser;->clearCache(Z)V

    .line 212
    return-void
.end method

.method public clearFormData()V
    .locals 1

    .prologue
    .line 214
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v0}, Lrexsee/core/browser/Browser;->clearFormData()V

    .line 215
    return-void
.end method

.method public clearHistory()V
    .locals 1

    .prologue
    .line 218
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v0}, Lrexsee/core/browser/Browser;->clearHistory()V

    .line 219
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->clear()V

    .line 220
    return-void
.end method

.method public dismiss()V
    .locals 1

    .prologue
    .line 296
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    invoke-interface {v0}, Lrexsee/core/browser/clazz/BrowserParent;->doCancel()V

    .line 297
    :cond_0
    return-void
.end method

.method public enableScrollbar(Z)V
    .locals 1
    .param p1, "enable"    # Z

    .prologue
    .line 301
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v0, p1}, Lrexsee/core/browser/Browser;->setHorizontalScrollBarEnabled(Z)V

    .line 302
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v0, p1}, Lrexsee/core/browser/Browser;->setVerticalScrollBarEnabled(Z)V

    .line 303
    return-void
.end method

.method public getCurrentZoom()F
    .locals 1

    .prologue
    .line 272
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v0}, Lrexsee/core/browser/Browser;->getScale()F

    move-result v0

    return v0
.end method

.method public getDialogId()Ljava/lang/String;
    .locals 3

    .prologue
    const-string v2, ""

    .line 291
    iget-object v1, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    if-nez v1, :cond_0

    const-string v1, ""

    move-object v1, v2

    .line 293
    :goto_0
    return-object v1

    .line 292
    :cond_0
    iget-object v1, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    invoke-interface {v1}, Lrexsee/core/browser/clazz/BrowserParent;->getParentId()Ljava/lang/String;

    move-result-object v0

    .line 293
    .local v0, "id":Ljava/lang/String;
    if-nez v0, :cond_1

    const-string v1, ""

    move-object v1, v2

    goto :goto_0

    :cond_1
    move-object v1, v0

    goto :goto_0
.end method

.method public getHistory()Ljava/lang/String;
    .locals 5

    .prologue
    .line 223
    const-string v2, ""

    .line 224
    .local v2, "rtn":Ljava/lang/String;
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "["

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 225
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v3, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v3, v3, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v3}, Lrexsee/core/browser/clazz/History;->getSize()I

    move-result v3

    if-lt v0, v3, :cond_0

    .line 233
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "]"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 234
    return-object v2

    .line 226
    :cond_0
    if-eqz v0, :cond_1

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ","

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 227
    :cond_1
    iget-object v3, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v3, v3, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v3, v0}, Lrexsee/core/browser/clazz/History;->getItemAtIndex(I)Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v1

    .line 228
    .local v1, "item":Lrexsee/core/browser/clazz/HistoryItem;
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "{"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 229
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "\"title\":\""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v1}, Lrexsee/core/browser/clazz/HistoryItem;->getTitle()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\","

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 230
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "\"url\":\""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v1}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 231
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "}"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 225
    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_0
.end method

.method public getInheritInterface(Lrexsee/core/browser/Browser;)Lrexsee/core/browser/clazz/JavascriptInterface;
    .locals 1
    .param p1, "childBrowser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 28
    iget-object v0, p1, Lrexsee/core/browser/Browser;->function:Lrexsee/core/browser/RexseeBrowser;

    return-object v0
.end method

.method public getInterfaceName()Ljava/lang/String;
    .locals 2

    .prologue
    .line 24
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v1, v1, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "Browser"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getNewInterface(Lrexsee/core/browser/Browser;)Lrexsee/core/browser/clazz/JavascriptInterface;
    .locals 1
    .param p1, "childBrowser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 32
    new-instance v0, Lrexsee/core/browser/RexseeBrowser;

    invoke-direct {v0, p1}, Lrexsee/core/browser/RexseeBrowser;-><init>(Lrexsee/core/browser/Browser;)V

    return-object v0
.end method

.method public getOriginalHistory()Ljava/lang/String;
    .locals 6

    .prologue
    .line 240
    iget-object v4, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v4}, Lrexsee/core/browser/Browser;->copyBackForwardList()Landroid/webkit/WebBackForwardList;

    move-result-object v0

    .line 242
    .local v0, "history":Landroid/webkit/WebBackForwardList;
    const-string v3, ""

    .line 243
    .local v3, "rtn":Ljava/lang/String;
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "["

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 244
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_0
    invoke-virtual {v0}, Landroid/webkit/WebBackForwardList;->getSize()I

    move-result v4

    if-lt v1, v4, :cond_0

    .line 252
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "]"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 253
    return-object v3

    .line 245
    :cond_0
    if-eqz v1, :cond_1

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, ","

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 246
    :cond_1
    invoke-virtual {v0, v1}, Landroid/webkit/WebBackForwardList;->getItemAtIndex(I)Landroid/webkit/WebHistoryItem;

    move-result-object v2

    .line 247
    .local v2, "item":Landroid/webkit/WebHistoryItem;
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "{"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 248
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "\"title\":\""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v2}, Landroid/webkit/WebHistoryItem;->getTitle()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "\","

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 249
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "\"url\":\""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v2}, Landroid/webkit/WebHistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "\""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 250
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "}"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 244
    add-int/lit8 v1, v1, 0x1

    goto/16 :goto_0
.end method

.method public getParentInterfaceName()Ljava/lang/String;
    .locals 2

    .prologue
    .line 36
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v1, v1, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "Parent"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getTotalPages()I
    .locals 1

    .prologue
    .line 237
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getTotalPages()I

    move-result v0

    return v0
.end method

.method public go(Ljava/lang/String;)V
    .locals 0
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 126
    invoke-virtual {p0, p1}, Lrexsee/core/browser/RexseeBrowser;->load(Ljava/lang/String;)V

    .line 127
    return-void
.end method

.method public goBack()V
    .locals 1

    .prologue
    .line 75
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->menu:Lrexsee/core/menu/RexseeMenu;

    iget-boolean v0, v0, Lrexsee/core/menu/RexseeMenu;->isOptionsMenuOpen:Z

    if-eqz v0, :cond_0

    .line 76
    iget-object p0, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    .end local p0    # "this":Lrexsee/core/browser/RexseeBrowser;
    check-cast p0, Landroid/app/Activity;

    invoke-virtual {p0}, Landroid/app/Activity;->closeOptionsMenu()V

    .line 80
    :goto_0
    return-void

    .line 78
    .restart local p0    # "this":Lrexsee/core/browser/RexseeBrowser;
    :cond_0
    const/4 v0, -0x1

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeBrowser;->goBackOrForward(I)V

    goto :goto_0
.end method

.method public goBackOrForward(I)V
    .locals 1
    .param p1, "steps"    # I

    .prologue
    .line 85
    const/4 v0, 0x1

    invoke-virtual {p0, p1, v0}, Lrexsee/core/browser/RexseeBrowser;->goBackOrForward(IZ)V

    .line 86
    return-void
.end method

.method public goBackOrForward(IZ)V
    .locals 11
    .param p1, "steps"    # I
    .param p2, "quit"    # Z

    .prologue
    const/4 v10, 0x1

    const/4 v9, 0x0

    .line 88
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v8}, Lrexsee/core/browser/clazz/History;->getCurrentIndex()I

    move-result v8

    add-int v2, v8, p1

    .line 89
    .local v2, "newIndex":I
    if-gez v2, :cond_2

    .line 90
    if-eqz p2, :cond_0

    .line 91
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    if-nez v8, :cond_1

    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    invoke-virtual {v8}, Lrexsee/core/application/RexseeApplication;->confirmQuit()V

    .line 124
    :cond_0
    :goto_0
    return-void

    .line 93
    :cond_1
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    invoke-interface {v8}, Lrexsee/core/browser/clazz/BrowserParent;->isCancelable()Z

    move-result v8

    if-eqz v8, :cond_0

    .line 94
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    invoke-interface {v8}, Lrexsee/core/browser/clazz/BrowserParent;->doCancel()V

    goto :goto_0

    .line 100
    :cond_2
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v8}, Lrexsee/core/browser/clazz/History;->getSize()I

    move-result v8

    sub-int/2addr v8, v10

    if-gt v2, v8, :cond_0

    .line 101
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v8, v2}, Lrexsee/core/browser/clazz/History;->setCurrentIndex(I)V

    .line 102
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v8}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v8

    invoke-virtual {v8}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v7

    .line 103
    .local v7, "url":Ljava/lang/String;
    invoke-static {v7}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v8

    invoke-virtual {v8}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v6

    .line 104
    .local v6, "scheme":Ljava/lang/String;
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->urlListeners:Lrexsee/core/browser/RexseeUrl;

    invoke-virtual {v8, v7}, Lrexsee/core/browser/RexseeUrl;->getFilterByUrl(Ljava/lang/String;)Lrexsee/core/browser/clazz/FilterListener;

    move-result-object v1

    .line 105
    .local v1, "listener":Lrexsee/core/browser/clazz/FilterListener;
    if-eqz v6, :cond_7

    const-string v8, "http"

    invoke-virtual {v6, v8}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v8

    if-eqz v8, :cond_3

    const-string v8, "https"

    invoke-virtual {v6, v8}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v8

    if-nez v8, :cond_7

    :cond_3
    if-nez v1, :cond_7

    .line 106
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v8}, Lrexsee/core/browser/Browser;->copyBackForwardList()Landroid/webkit/WebBackForwardList;

    move-result-object v5

    .line 107
    .local v5, "originalHistory":Landroid/webkit/WebBackForwardList;
    invoke-virtual {v5}, Landroid/webkit/WebBackForwardList;->getCurrentIndex()I

    move-result v3

    .line 108
    .local v3, "oIndex":I
    const/4 v4, 0x0

    .line 109
    .local v4, "oSteps":I
    invoke-virtual {v5}, Landroid/webkit/WebBackForwardList;->getSize()I

    move-result v8

    sub-int v0, v8, v10

    .local v0, "i":I
    :goto_1
    if-gez v0, :cond_4

    .line 115
    :goto_2
    if-eqz v4, :cond_6

    .line 116
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->pageBeforeStartListeners:Lrexsee/core/browser/clazz/PageBeforeStartListeners;

    iget-object v9, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v8, v9, v7}, Lrexsee/core/browser/clazz/PageBeforeStartListeners;->run(Lrexsee/core/browser/Browser;Ljava/lang/String;)V

    .line 117
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v8, v4}, Lrexsee/core/browser/Browser;->goBackOrForward(I)V

    goto :goto_0

    .line 110
    :cond_4
    if-eq v0, v3, :cond_5

    invoke-virtual {v5, v0}, Landroid/webkit/WebBackForwardList;->getItemAtIndex(I)Landroid/webkit/WebHistoryItem;

    move-result-object v8

    invoke-virtual {v8}, Landroid/webkit/WebHistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v8, v7}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v8

    if-nez v8, :cond_5

    .line 111
    invoke-virtual {v5}, Landroid/webkit/WebBackForwardList;->getCurrentIndex()I

    move-result v8

    sub-int v4, v0, v8

    .line 112
    goto :goto_2

    .line 109
    :cond_5
    add-int/lit8 v0, v0, -0x1

    goto :goto_1

    .line 119
    :cond_6
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->urlListeners:Lrexsee/core/browser/RexseeUrl;

    invoke-virtual {v8, v7, v9}, Lrexsee/core/browser/RexseeUrl;->run(Ljava/lang/String;Z)V

    goto/16 :goto_0

    .line 122
    .end local v0    # "i":I
    .end local v3    # "oIndex":I
    .end local v4    # "oSteps":I
    .end local v5    # "originalHistory":Landroid/webkit/WebBackForwardList;
    :cond_7
    iget-object v8, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v8, v8, Lrexsee/core/browser/Browser;->urlListeners:Lrexsee/core/browser/RexseeUrl;

    invoke-virtual {v8, v7, v9}, Lrexsee/core/browser/RexseeUrl;->run(Ljava/lang/String;Z)V

    goto/16 :goto_0
.end method

.method public goForward()V
    .locals 1

    .prologue
    .line 82
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeBrowser;->goBackOrForward(I)V

    .line 83
    return-void
.end method

.method public isAllowErrorDialog()Z
    .locals 1

    .prologue
    .line 208
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-boolean v0, v0, Lrexsee/core/browser/Browser;->allowErrorDialog:Z

    return v0
.end method

.method public keyDown(I)V
    .locals 2
    .param p1, "keyCode"    # I

    .prologue
    .line 320
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    new-instance v1, Lrexsee/core/browser/RexseeBrowser$4;

    invoke-direct {v1, p0, p1}, Lrexsee/core/browser/RexseeBrowser$4;-><init>(Lrexsee/core/browser/RexseeBrowser;I)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 330
    return-void
.end method

.method public keyUp(I)V
    .locals 2
    .param p1, "keyCode"    # I

    .prologue
    .line 332
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    new-instance v1, Lrexsee/core/browser/RexseeBrowser$5;

    invoke-direct {v1, p0, p1}, Lrexsee/core/browser/RexseeBrowser$5;-><init>(Lrexsee/core/browser/RexseeBrowser;I)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 342
    return-void
.end method

.method public load(Ljava/lang/String;)V
    .locals 3
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 50
    :try_start_0
    iget-object v1, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->urlListeners:Lrexsee/core/browser/RexseeUrl;

    const/4 v2, 0x1

    invoke-virtual {v1, p1, v2}, Lrexsee/core/browser/RexseeUrl;->run(Ljava/lang/String;Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 54
    :goto_0
    return-void

    .line 51
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 52
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/core/browser/RexseeBrowser;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    goto :goto_0
.end method

.method public loadFromCache(Ljava/lang/String;)V
    .locals 4
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 56
    const/4 v1, 0x0

    .line 57
    .local v1, "oSteps":I
    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/History;->getSize()I

    move-result v2

    if-eqz v2, :cond_0

    .line 58
    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/History;->getSize()I

    move-result v2

    const/4 v3, 0x1

    sub-int v0, v2, v3

    .local v0, "i":I
    :goto_0
    if-gez v0, :cond_1

    .line 65
    .end local v0    # "i":I
    :cond_0
    :goto_1
    if-eqz v1, :cond_3

    .line 66
    invoke-virtual {p0, v1}, Lrexsee/core/browser/RexseeBrowser;->goBackOrForward(I)V

    .line 70
    :goto_2
    return-void

    .line 59
    .restart local v0    # "i":I
    :cond_1
    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/History;->getCurrentIndex()I

    move-result v2

    if-eq v0, v2, :cond_2

    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v2, v0}, Lrexsee/core/browser/clazz/History;->getItemAtIndex(I)Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v2

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v2

    if-nez v2, :cond_2

    .line 60
    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/History;->getCurrentIndex()I

    move-result v2

    sub-int v1, v0, v2

    .line 61
    goto :goto_1

    .line 58
    :cond_2
    add-int/lit8 v0, v0, -0x1

    goto :goto_0

    .line 68
    .end local v0    # "i":I
    :cond_3
    invoke-virtual {p0, p1}, Lrexsee/core/browser/RexseeBrowser;->load(Ljava/lang/String;)V

    goto :goto_2
.end method

.method public loadHTML(Ljava/lang/String;)V
    .locals 6
    .param p1, "html"    # Ljava/lang/String;

    .prologue
    .line 160
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v1, v1, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, ":html?id="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    .line 161
    .local v5, "url":Ljava/lang/String;
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0, v5}, Lrexsee/core/browser/clazz/History;->add(Ljava/lang/String;)V

    .line 162
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    const/4 v1, 0x0

    const-string v3, "text/html"

    const-string v4, "utf-8"

    move-object v2, p1

    invoke-virtual/range {v0 .. v5}, Lrexsee/core/browser/Browser;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 164
    return-void
.end method

.method public loadHTMLWithoutHistory(Ljava/lang/String;)V
    .locals 6
    .param p1, "html"    # Ljava/lang/String;

    .prologue
    .line 166
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v1, v1, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, ":html?id="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    .line 167
    .local v5, "url":Ljava/lang/String;
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    const/4 v1, 0x0

    const-string v3, "text/html"

    const-string v4, "utf-8"

    move-object v2, p1

    invoke-virtual/range {v0 .. v5}, Lrexsee/core/browser/Browser;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 169
    return-void
.end method

.method public open(Ljava/lang/String;)V
    .locals 6
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    const/high16 v4, 0x10000000

    const/high16 v3, 0x40000

    const-string v5, "android.intent.action.VIEW"

    .line 129
    const-string v2, ""

    invoke-virtual {p1, v2}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v2

    if-nez v2, :cond_0

    .line 152
    :goto_0
    return-void

    .line 130
    :cond_0
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v2}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v1

    .line 131
    .local v1, "scheme":Ljava/lang/String;
    if-nez v1, :cond_1

    .line 132
    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/core/browser/RexseeBrowser;->getInterfaceName()Ljava/lang/String;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "Invalid URL: "

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 135
    :cond_1
    const-string v2, "http"

    invoke-virtual {v1, v2}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v2

    if-eqz v2, :cond_2

    const-string v2, "https"

    invoke-virtual {v1, v2}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v2

    if-nez v2, :cond_3

    .line 136
    :cond_2
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 137
    .local v0, "i":Landroid/content/Intent;
    invoke-virtual {v0, v3}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 138
    invoke-virtual {v0, v4}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 139
    const-string v2, "android.intent.action.VIEW"

    invoke-virtual {v0, v5}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 140
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 141
    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    invoke-virtual {v2, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 142
    .end local v0    # "i":Landroid/content/Intent;
    :cond_3
    const-string v2, "file"

    invoke-virtual {v1, v2}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v2

    if-nez v2, :cond_4

    .line 143
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 144
    .restart local v0    # "i":Landroid/content/Intent;
    invoke-virtual {v0, v3}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 145
    invoke-virtual {v0, v4}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 146
    const-string v2, "android.intent.action.VIEW"

    invoke-virtual {v0, v5}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 147
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-static {}, Landroid/webkit/MimeTypeMap;->getSingleton()Landroid/webkit/MimeTypeMap;

    move-result-object v3

    invoke-static {p1}, Landroid/webkit/MimeTypeMap;->getFileExtensionFromUrl(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/webkit/MimeTypeMap;->getMimeTypeFromExtension(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 148
    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    invoke-virtual {v2, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 150
    .end local v0    # "i":Landroid/content/Intent;
    :cond_4
    invoke-virtual {p0, p1}, Lrexsee/core/browser/RexseeBrowser;->load(Ljava/lang/String;)V

    goto/16 :goto_0
.end method

.method public pauseTimers()V
    .locals 1

    .prologue
    .line 199
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v0}, Lrexsee/core/browser/Browser;->pauseTimers()V

    .line 200
    return-void
.end method

.method public prepareFlash()Z
    .locals 6

    .prologue
    const/4 v5, 0x0

    .line 306
    const/4 v1, 0x0

    .line 308
    .local v1, "i":I
    :goto_0
    iget-object v3, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v3}, Lrexsee/core/browser/Browser;->getChildCount()I

    move-result v2

    .line 309
    .local v2, "j":I
    if-lt v1, v2, :cond_0

    move v3, v5

    .line 313
    :goto_1
    return v3

    .line 310
    :cond_0
    iget-object v3, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v3, v1}, Lrexsee/core/browser/Browser;->getChildAt(I)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v3

    const-string v4, "com.adobe.flashplayer.FlashPaintSurface"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 311
    iget-object v3, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v3, v1}, Lrexsee/core/browser/Browser;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/SurfaceView;

    .line 312
    .local v0, "flashSurface":Landroid/view/SurfaceView;
    invoke-virtual {v0, v5}, Landroid/view/SurfaceView;->setZOrderMediaOverlay(Z)V

    .line 313
    const/4 v3, 0x1

    goto :goto_1

    .line 315
    .end local v0    # "flashSurface":Landroid/view/SurfaceView;
    :cond_1
    add-int/lit8 v1, v1, 0x1

    .line 316
    goto :goto_0
.end method

.method public reload()V
    .locals 3

    .prologue
    .line 72
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->urlListeners:Lrexsee/core/browser/RexseeUrl;

    iget-object v1, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v1}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v1

    invoke-virtual {v1}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/RexseeUrl;->run(Ljava/lang/String;Z)V

    .line 73
    return-void
.end method

.method public resumeTimers()V
    .locals 1

    .prologue
    .line 202
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v0}, Lrexsee/core/browser/Browser;->resumeTimers()V

    .line 203
    return-void
.end method

.method public setAllowErrorDialog(Z)V
    .locals 1
    .param p1, "allow"    # Z

    .prologue
    .line 205
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iput-boolean p1, v0, Lrexsee/core/browser/Browser;->allowErrorDialog:Z

    .line 206
    return-void
.end method

.method public setFocusable(Z)V
    .locals 2
    .param p1, "focusable"    # Z

    .prologue
    .line 275
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    new-instance v1, Lrexsee/core/browser/RexseeBrowser$3;

    invoke-direct {v1, p0, p1}, Lrexsee/core/browser/RexseeBrowser$3;-><init>(Lrexsee/core/browser/RexseeBrowser;Z)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 287
    return-void
.end method

.method public setSource(Ljava/lang/String;)V
    .locals 1
    .param p1, "source"    # Ljava/lang/String;

    .prologue
    .line 345
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iput-object p1, v0, Lrexsee/core/browser/Browser;->source:Ljava/lang/String;

    .line 346
    return-void
.end method

.method public show(Ljava/lang/String;Ljava/lang/String;)V
    .locals 6
    .param p1, "title"    # Ljava/lang/String;
    .param p2, "message"    # Ljava/lang/String;

    .prologue
    const-string v5, "<a href=\'"

    const-string v4, "</div>"

    const-string v3, "</a>"

    .line 171
    const-string v0, ""

    .line 172
    .local v0, "html":Ljava/lang/String;
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<html><head><title>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</title></head><body>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 173
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<div style=\'font-size:16px;padding:10px;background-color:#e7e7e7;border:1px solid #7f9db9;\'>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 174
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<div style=\'font-size:24px;font-family:arial;font-weight:bold;\'>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</div>"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 175
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<hr><div style=\'line-height:150%;\'>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</div><hr>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 176
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<a href=\'"

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":back\' style=\'font-size:20px;\'>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget-object v2, Lrexsee/core/lang/RexseeLanguage;->ACTION_BACK:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</a>"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 177
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "&nbsp;|&nbsp;"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 178
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<a href=\'"

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":quit\' style=\'font-size:20px;\'>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget-object v2, Lrexsee/core/lang/RexseeLanguage;->ACTION_QUIT:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</a>"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 179
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "</div>"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 180
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "</body></html>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 181
    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeBrowser;->loadHTML(Ljava/lang/String;)V

    .line 182
    return-void
.end method

.method public showWithoutHistory(Ljava/lang/String;Ljava/lang/String;)V
    .locals 6
    .param p1, "title"    # Ljava/lang/String;
    .param p2, "message"    # Ljava/lang/String;

    .prologue
    const-string v5, "<a href=\'"

    const-string v4, "</div>"

    const-string v3, "</a>"

    .line 184
    const-string v0, ""

    .line 185
    .local v0, "html":Ljava/lang/String;
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<html><head><title>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</title></head><body>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 186
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<div style=\'font-size:16px;padding:10px;background-color:#e7e7e7;border:1px solid #7f9db9;\'>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 187
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<div style=\'font-size:24px;font-family:arial;font-weight:bold;\'>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</div>"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 188
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<hr><div style=\'line-height:150%;\'>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</div><hr>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 189
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<a href=\'"

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":back\' style=\'font-size:20px;\'>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget-object v2, Lrexsee/core/lang/RexseeLanguage;->ACTION_BACK:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</a>"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 190
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "&nbsp;|&nbsp;"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 191
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "<a href=\'"

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":quit\' style=\'font-size:20px;\'>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget-object v2, Lrexsee/core/lang/RexseeLanguage;->ACTION_QUIT:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</a>"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 192
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "</div>"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 193
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "</body></html>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 194
    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeBrowser;->loadHTMLWithoutHistory(Ljava/lang/String;)V

    .line 195
    return-void
.end method

.method public stop()V
    .locals 4

    .prologue
    .line 154
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    sget-object v1, Lrexsee/core/lang/RexseeLanguage;->PROGRESS_STOP:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 155
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->stopListeners:Lrexsee/core/browser/clazz/StopListeners;

    iget-object v1, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v3, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v3, v3, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v3}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v3

    invoke-virtual {v3}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v1, v2, v3}, Lrexsee/core/browser/clazz/StopListeners;->run(Landroid/content/Context;Lrexsee/core/browser/Browser;Ljava/lang/String;)V

    .line 156
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v0}, Lrexsee/core/browser/Browser;->stopLoading()V

    .line 157
    return-void
.end method

.method public zoomIn()V
    .locals 2

    .prologue
    .line 256
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    new-instance v1, Lrexsee/core/browser/RexseeBrowser$1;

    invoke-direct {v1, p0}, Lrexsee/core/browser/RexseeBrowser$1;-><init>(Lrexsee/core/browser/RexseeBrowser;)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 262
    return-void
.end method

.method public zoomOut()V
    .locals 2

    .prologue
    .line 264
    iget-object v0, p0, Lrexsee/core/browser/RexseeBrowser;->mContext:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    new-instance v1, Lrexsee/core/browser/RexseeBrowser$2;

    invoke-direct {v1, p0}, Lrexsee/core/browser/RexseeBrowser$2;-><init>(Lrexsee/core/browser/RexseeBrowser;)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 270
    return-void
.end method
